package com.lytoyo.neihanduanzi.service;

import com.lytoyo.neihanduanzi.model.query.UserIndexQuery;
import com.lytoyo.neihanduanzi.model.vo.UserSearchResponseVo;

import java.util.List;
import java.util.Map;

/**
 * Package:com.lytoyo.neihanduanzi.service.impl
 *
 * @ClassName:SearchService
 * @Create:2025/4/10 16:05
 **/
public interface SearchService {

    /**
     * 关键词检索
     * @param userIndexQuery
     * @return
     */
    UserSearchResponseVo search(UserIndexQuery userIndexQuery);

    /**
     * 关键词补全
     * @param keyword
     * @return
     */
    List<String> completeSuggest(String keyword);

    /**
     * 综合查询
     * @param keyword
     * @param pageNo
     * @param pageSize
     * @return
     */
    Map<String, Object> comprehensiveSearch(String keyword,Integer pageNo,Integer pageSize);
}
